#ifndef __RS_IPC_TOOLBOX_INCLUDE__
#define __RS_IPC_TOOLBOX_INCLUDE__
#include "SSToolBox\SSToolBox.h"
#include "IPC_Manager.h"

class ViewGridWidget;
class IPCListWidget;
class VideoControlWidget;

class RS_IPC_ToolBox : public SSToolBox
{
	Q_OBJECT
public:
	explicit RS_IPC_ToolBox(IPCManager* mgr ,QWidget *parent = nullptr);


public:
	ViewGridWidget* getViewGridWidget() const { return m_ViewGridWidget; }
	IPCListWidget* getIPCListWidget() const { return m_IPCListWidget; }
	VideoControlWidget* getVideoControlWidget() const  { return m_VideoControlWidget; }

private:
	void CreateViewGridWidget();
	void CreateIPCListWidget();
	void CreatePTZCtrlWidget();

private:
	SSToolBoxItem* m_pViewGridBar; 
	SSToolBoxItem* m_pIPCListBar;
	SSToolBoxItem* m_pPTZBar;
	IPCManager* ipc_mgr;
	ViewGridWidget*  m_ViewGridWidget;
	IPCListWidget* m_IPCListWidget;
	VideoControlWidget* m_VideoControlWidget;
};

#endif